How to get files from ftp server in qtp
Getting files from ftp server is easy task.
You have to use below code to launch command prompt with all ftp commands in it.
Common ftp command are -
get - to download a single file from ftp server.
mget - to download multiple files from server
put - to store single file on server
mput - to store multiple files on server
delete - to delete files on ftp server
WSHShell.Run "%comspec% /c FTP -n -s:" & commandstoworkwithftp & " " & Site, 0, True
No comments:
Post a Comment
Please Leave your reply. We value your feedback and inputs