Query on FTP

hi iam new to wave com programming,
Iam using AT commands for FTP
I have send file(image/text/pdf) using FTP
Iam trying to upload a file from Wave com to server using FTP

Currently am establishing a FTP connection
reading the textfile ,storing it in a string,
sending it to uart,

Is there an alternative?
Is it possible to specify the File Path and send it directly?

Regards
Arvin

What file path?

hi
Thanks for your reply,
Iam planning to use wavecom modem to transfer images/files from one PC to another using FTP,
Is it possible to transfer an Image using FTP,
I have tried sending a text file using FTP,

Should i convert image to hex values and then send as text
If i know the image path(c:\image1.jpg),like
In the hyperterminal there is provision to send file
hyperterminal->transfer->send file->filename

Is there a similar utility/At command by which this can be done?
Is there any simple way to transfer image/multimedia using wavecom?
please correct if am wrong,
Kindly reply

In that case, you just install the Fatrack as a modem, and all the standard PC network functions will just use it in the usual way - it is completely transparent to the user and the applications!

Thanks for the reply,
We are using Q24 due to some dependency,
Can it be done some how?
kindly reply,

Yes - as far as the PC is concerned, it’s just a modem!

My Purpose is as follows,
Iam having images /Multimedia files in a PC1,Wavecom Q24 is connected to that,
I need to transfer the images /Files to a Remote PC ,PC2,having static IP
I need to transfer images from PC1 to PC2 ,

Iam using VB for coding,
With below code iam able to establish FTP Connection,I dont know how to transfer image using FTP

at+WIPCFG=1
OK
at+WIPBR=1,6
OK
at+WIPBR=2,6,11,"myapn.com"
OK
at+WIPBR=2,6,0,""
OK
at+WIPBR=2,6,1,""
OK
at+WIPBR=4,6,0
OK
AT+WIPCREATE=4,1,"IP",21,"Admin","123"
OK
at+WIPOPT=4,1,2,40,1
OK
at+WIPOPT=4,1,2,41,0
OK
at+wipfile=4,1,2,"./my.jpg"
CONNECT

//i need to transfer image after this :question:
If i convert image(jpg to hex) to hex values ,it will become very inefficient,i have to write code in client side to convert hex to jpg

It will be so helpful ,if you suggest a solution

Thanks ,
Sincerly

Hiya,

Just note that Hyperterm is NOT an FTP client. Windows XP has a command line ftp client (called ftp of all things!), or there are a number of third party ftp clients available - ncftp, WinSCP (also does ftp transfers), CuteFTP etc.

Also, use the BINARY mode to transfer your files - this will take care of data conversion within the FTP process.

ciao, Dave

Surely, there must be ready-made FTP clients (or client code) that you can use in VB?!

There is really no need or point in messing about with AT commands!

Windows provides you with standard networking facilities: just use them - don’t re-invent the wheel!