![]() |
VBA: FtpSetCurrentDirectory
Wechsle in folgendes Verzeichniß:
lngChangeDir = FtpSetCurrentDirectory(lngINetConn, "lines/business") und hol mir dann per get ein paar Files. und dann will ich in das Verzeichniß "lines/leute" lngChangeDir = FtpSetCurrentDirectory(lngINetConn, "..") lngChangeDir = FtpSetCurrentDirectory(lngINetConn, "leute") Wie kann ich mit nur einmal lngChangeDir = FtpSetCurrentDirectory(lngINetConn, "???") in dieses Vereichniß wechseln? |
Nach Adam Riese und Eva Zwerg:
lngChangeDir = FtpSetCurrentDirectory(lngINetConn, "../leute") Odrrrrr? |
@_m3: ja das dachte ich auch - geht aber nicht!
|
Und absolut?
lngChangeDir = FtpSetCurrentDirectory(lngINetConn, "lines/leute") ??? |
Hmm laut MS-Doku <http://msdn.microsoft.com/workshop/n...tdirectory.asp> sollte es sich aber so verhalten. Was sagt denn FtpGetCurrentDirectory wo Du bist? Bzw. fragts Du eventuelle Fehler ab?
|
auf .. kommt true
auf /xy kommt true auf xx/xy kommt true auf ../xy kommt false |
| Alle Zeitangaben in WEZ +2. Es ist jetzt 08:37 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag