Link to home
Start Free TrialLog in
Avatar of x1877
x1877Flag for United States of America

asked on

How can i get ftp server time using vb.net code ?

How can i get ftp server time using vb.net code?
Avatar of JackOfPH
JackOfPH
Flag of Philippines image

Is this a local ftp server? Or did you want to get the time off of a remote ftp server?
Avatar of x1877

ASKER

Hi L00M:

Thanks for your response. Its a remote ftp server.
ASKER CERTIFIED SOLUTION
Avatar of L00M
L00M
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of x1877

ASKER

You are right. I did it that way. Small difference, i created a folder insted and checked its creation time. I feel its an ugly way but cant help!!. There could be scinarios the ftp user does not have the permission to create or upload anything to the ftp server but can read. If you come acros anything else let me know. Again thanks for your response.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Any paticular reason you gave me a B? EE Help states:

B: The Expert(s) provided an acceptable solution, or a link to an acceptable solution, that you were able to use, although you may have needed a bit more information to complete the task.

If you required more information, you should have asked. If you felt you deserved a refund, you could have (and still can) asked for that under community support. If you are unsure which grade to give, reference:
https://www.experts-exchange.com/help.jsp#hi73
Avatar of x1877

ASKER

Hi Loom,
How are you? Hope you are doing fine.

Infact i needed a solution which works always.

In this case i have to work with many unknown ftp servers. There is no way i can create a webservice or put an asp page on them.

This solution can still fail if the ftp user does not have a write permission to the ftp server.

So that is why i decided to award grade B for this answer.  Thanks